﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Extensions.Caching.Memory;

namespace WPFNote.Utilities.CacheHelper
{
    /// <summary>
    /// 缓存
    /// </summary>
    public class CacheHelper
    {
        public ICacheService Instance;

        /// <summary>
        /// 构造函数
        /// </summary>
        public CacheHelper(IMemoryCache cache)
        {
            Instance = new CacheServiceImpl.DefaultCache(cache);
        }
    }
}
